Before running the demo ensure you find and replace all instances of [[REPLACE]] in "V3D_Pipeline.v3s" with the path to this directory (Directory_Watcher_Tutorial).

Example:
C:\Users\22ggw\DesktopDirectory_Watcher_Tutorial

This demo uses two watchers created through the Sift Directory Watchers dialog.

Watcher 1:

Name: V3D Ankle Angle Watcher
Directory: Data
Script: V3D_Pipeline.v3s
Recursive: Off
Trigger on delete: Off
Delay: 1000 ms

Watcher 2:

Name: Sift Ankle Outlier Watcher
Directory: CMZs
Script: Sift_Script.bat
Recursive: Off
Trigger on delete: Off
Delay: 1000 ms

Workflow:
1. Launch the Sift background instance from the Directory Watchers dialog.
2. Copy DE3_1_pose_0.c3d into the Data folder.
3. The V3D watcher calculates right and left ankle joint angles and adds
   right and left heel-strike events.
4. Visual3D saves DE3_Ankle_Angles.cmz into the CMZs folder.
5. The new CMZ triggers the Sift watcher.
6. Sift queries right and left sagittal-plane ankle angles over complete
   stride cycles, runs PCA, performs group-level LOF outlier detection,
   exports the LOF results, and saves an i3d project.
7. Review the final files in the Exports folder.
